#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#


def_body = """
name = "xiong"
print("hello world")
def xx():
    print("he")
"""

def_dic = {}

exec(def_body, {}, def_dic)
print(def_dic)

# def foo():
#     print("hello world")
#
# f=foo
#
# print(f)
